package com.credithc.fastdfs.monitor.service;

import java.util.List;

import org.csource.common.MyException;

import com.credithc.fastdfs.api.entity.Alarm;
import com.credithc.framework.core.mybatis.page.PageController;

/** 
 * @ClassName: AlarmService 
 * @Description: 告警提醒
 * @author zhaoc
 * @date 2015年6月8日
 * @time  上午10:39:47 
 */ 
public interface AlarmService {
	/** 
	 * @Title: selectAlarmList 
	 * @Description: 告警查询列表
	 * @param 
	 * @return PageController
	 * @throws 
	 */ 
	public PageController selectAlarmList(PageController page, Alarm alarm);
	
	/** 
	 * @Title: addAlarm 
	 * @Description: 添加告警提醒
	 * @param 
	 * @return int
	 * @throws 
	 */ 
	int addAlarm(Alarm alarm) throws MyException;
	/** 
	 * @Title: getAlarmBySysId 
	 * @Description: 通过ID获取告警信息
	 * @param 
	 * @return Alarm
	 * @throws 
	 */ 
	Alarm getAlarmBySysId(String alarmId) throws MyException;
	
	/** 
	 * @Title: editAlarm 
	 * @Description: 修改告警信息
	 * @param 
	 * @return int
	 * @throws 
	 */ 
	int editAlarm(Alarm alarm) throws MyException;
	
	/** 
	 * @Title: delSysParam 
	 * @Description: 删除告警信息
	 * @param 
	 * @return int
	 * @throws 
	 */ 
	int delAlarm(List<String> alarmId) throws MyException;
}
